<% title "Synopses" %>

<table>
  <tr>
    <th>Programid</th>
    <th>Language</th>
    <th>Lenth</th>
    <th>Text</th>
  </tr>
  <% for synopsis in @synopses %>
    <tr>
      <td><%= synopsis.programId %></td>
      <td><%= synopsis.language %></td>
      <td><%= synopsis.lenth %></td>
      <td><%= synopsis.text %></td>
      <td><%= link_to "Show", synopsis %></td>
      <td><%= link_to "Edit", edit_synopsis_path(synopsis) %></td>
      <td><%= link_to "Destroy", synopsis, :confirm => 'Are you sure?', :method => :delete %></td>
    </tr>
  <% end %>
</table>

<p><%= link_to "New Synopsis", new_synopsis_path %></p>
